-- GENERATED SPELL FOR [Gnarlpine Avenger] --


function spell0_2013(pUnit, Event) --@Gnarlpine Vengeance,Self--
pUnit:FullCastSpellOnTarget(5628,pUnit)
pUnit:RegisterEvent('Sorts_2013', 6295, 1)
end

function Sorts_2013(pUnit, Event)
local choix_sorts_2013 = math.random(0, 0)
if choix_sorts_2013 == 0 then
pUnit:RegisterEvent('spell0_2013', 1, 1)
end
end

function mob2013_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2013', math.random(1500, 3000), 1)
end

function mob2013_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2013_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2013_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2013, 1, 'mob2013_Action')
RegisterUnitEvent(2013, 2, 'mob2013_Leave')
RegisterUnitEvent(2013, 3, 'mob2013_Kill')
RegisterUnitEvent(2013, 4, 'mob2013_Die')
